package com.jlboot.app.weixin.router;

import com.jlboot.app.admin.controller.weixin.*;
import com.jlboot.core.ConfigUtil;
import com.jfinal.config.Routes;

/**
 * Created by 51594 on 2021/5/28.
 */
public class WeixinRoutes extends Routes {

    public static String ADMIN_PATH = ConfigUtil.getWebAdminPath();

    public void config() {
        setBaseViewPath("/WEB-INF/resource/pages/weixin");
        add("/api/wx", WxApiController.class);
        add(ADMIN_PATH + "/wxpay", WxPayController.class, "/wxpay");

    }

}
